package com.cn.Mapper.shopMapper;

import com.cn.entity.shop.Shop_GoodsInventory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InventoryMapper {

    /**
     * 显示库存
     */
 public List<Shop_GoodsInventory> showAll();
    /**
     *
     * cart表(出库表)中的goods_number
     * n=goods_number
     * 库存-n
     */
 public  int updateInventoryByCart();

    /**
     * 进货
     */
 public  int   addInventory(@Param("goods_inventory")Integer goods_inventory,@Param("goods_id")String goods_id);


}
